projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
362ae0b
)
(archive-mode): Locally set file-precious-flag.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Oct 1998 19:21:37 +0000
(19:21 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Oct 1998 19:21:37 +0000
(19:21 +0000)
lisp/arc-mode.el
patch
|
blob
|
history
diff --git
a/lisp/arc-mode.el
b/lisp/arc-mode.el
index 0085c13e47e6fa0154799319e8e5a875a30d608f..cc9f10531e74061895b3580f1ae1e7d243e6f55c 100644
(file)
--- a/
lisp/arc-mode.el
+++ b/
lisp/arc-mode.el
@@
-526,6
+526,10
@@
archive.
(make-local-variable 'local-enable-local-variables)
(setq local-enable-local-variables nil)
+ ;; Prevent loss of data when saving the file.
+ (make-local-variable 'file-precious-flag)
+ (setq file-precious-flag t)
+
(make-local-variable 'archive-read-only)
;; Archives which are inside other archives and whose
;; names are invalid for this OS, can't be written.